<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Permohonan Kursus Form</title>
<meta name="keywords" content="#customize#" />
<meta name="description" content="#customize#" />
<link rel="stylesheet" href="#customize#" type="text/css" />
<link rel="icon" href="#customize#" type="image/x-icon" />
<!--[if gte IE 7]><link rel="stylesheet" type="text/css" href="#customize#" media="screen, projection" /><![endif]-->
<!--[if IE 6]><link rel="stylesheet" type="text/css" href="http://universal-ie6-css.googlecode.com/files/ie6.0.3.css" media="screen, projection" /><![endif]-->
<style type="text/css">
.db_success { background-color: #91CB00; border: 1px solid #91CB00; border-radius: 5px; box-shadow: 1px 1px 0 #fff inset, -1px -1px 0 #fff inset; color: #F9F9F9; display: inline-block; margin: 10px 0; padding: 10px; }
.db_success b { background-color: #F9F9F9; border: 1px solid #F9F9F9; border-radius: 5px; box-shadow: 1px 1px 0 #91CB00 inset, -1px -1px 0 #91CB00 inset; color: #91CB00; display: inline-block; margin: 2px 0; padding: 2px; }
.db_error { background-color: #C91F2C; border: 1px solid #C91F2C; border-radius: 5px; box-shadow: 1px 1px 0 #fff inset, -1px -1px 0 #fff inset; color: #F9F9F9; display: inline-block; margin: 10px 0; padding: 10px; }
.db_error b b,.db_error b { background-color: #f6f6f6; border: 1px solid #f6f6f6; border-radius: 5px; box-shadow: 1px 1px 0 #C91F2C inset, -1px -1px 0 #C91F2C inset; color: #C91F2C; display: inline-block; margin: 2px 0; padding: 2px; }
pre { background-color: #999; border: 1px solid #999; border-radius: 5px; box-shadow: 1px 1px 0 #fff inset, -1px -1px 0 #fff inset; color: #F9F9F9; display: inline-block; margin: 10px 0; padding: 10px; text-align:left;}
pre b { background-color: #F9F9F9; border: 1px solid #F9F9F9; border-radius: 5px; box-shadow: 1px 1px 0 #999 inset, -1px -1px 0 #999 inset; color: #999; display: inline-block; margin: 2px 0; padding: 2px; }
</style>
<!-- grab 1.7.1 from google -->
<script>!window.jQuery && document.write(unescape('%3Cscript type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"%3E%3C/script%3E'));</script>

<!-- if its not online grab 1.7.1 from jquery -->
<script>!window.jQuery && document.write(unescape('%3Cscript type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"%3E%3C/script%3E'));</script>

<!-- if its not online grab latest from google -->
<script>!window.jQuery && document.write(unescape('%3Cscript type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"%3E%3C/script%3E'));</script>

<!-- if its not online grab latest from jquery -->
<script>!window.jQuery && document.write(unescape('%3Cscript type="text/javascript" src="http://code.jquery.com/jquery.min.js"%3E%3C/script%3E'));</script>

<!-- if its not online grab 1.7.1 local -->
<script>!window.jQuery && document.write(unescape('%3Cscript type="text/javascript" src="/js/jquery-1.7.1.min.js"%3E%3C/script%3E'));</script>

<!-- if its still not online your S.O.L. -->
<script>!window.jQuery && document.write(unescape('%3Cscript type="text/javascript"%3E alert("All reasonable attempts to load jQuery have failed.\\nAt this point, you may want to call it a day as\\nyou\'ve stepped in a big \'ol pile of S.O.L."); %3C/script%3E'));</script>

<!-- uncomment below to verify jQuery loaded -->
<!--script>window.jQuery && document.write(unescape('%3Cscript type="text/javascript"%3E alert("jQuery Loaded!!"); %3C/script%3E'));</script-->

<script type="text/javascript">
     $(document).ready(function() {
          $("#permohonan_kursus").submit(function() {
               var str = $(this).serialize();
               $.ajax({
                    type: "POST",
                    url: "permohonankursusconfig.php",
                    data: str,
                    success: function(msg) {
                         $("#db_message").ajaxComplete(function(event, request, settings) {
                              $(this).replaceWith(msg); //replaces contents
                         });
                    }
               });
               return false;
          });
     });
</script>

</head>
<body id="permohonan_kursus_form">
<section class="db_message" id="db_message">
<!-- your ajax message will appear here -->
</section>
<header>
<nav>
<!-- #customize# -->
</nav>
</header>
<section class="form_container">
<form action="" method="POST" id="permohonan_kursus" name="permohonan_kursus" >
<fieldset>
<legend> Permohonan Kursus </legend>
     <label for="id">Id</label>
          <input type="number" value="<?php if (isset($id)) echo reverb($id); ?>" class="" id="" name="id" maxlength="11" min="" max="" step="" />

     <label for="nama">Nama</label>
          <input type="text" value="<?php if (isset($nama)) echo reverb($nama); ?>" class="" id="" name="nama" maxlength="255" />

     <label for="noic">Noic</label>
          <input type="text" value="<?php if (isset($noic)) echo reverb($noic); ?>" class="" id="" name="noic" maxlength="255" />

     <label for="kategori_kursus">Kategori Kursus</label>
          <input type="text" value="<?php if (isset($kategori_kursus)) echo reverb($kategori_kursus); ?>" class="" id="" name="kategori_kursus" maxlength="255" />

     <label for="nama_kursus">Nama Kursus</label>
          <input type="text" value="<?php if (isset($nama_kursus)) echo reverb($nama_kursus); ?>" class="" id="" name="nama_kursus" maxlength="255" />

     <label for="tempat_kursus">Tempat Kursus</label>
          <input type="text" value="<?php if (isset($tempat_kursus)) echo reverb($tempat_kursus); ?>" class="" id="" name="tempat_kursus" maxlength="255" />

     <label for="anjuran">Anjuran</label>
          <input type="text" value="<?php if (isset($anjuran)) echo reverb($anjuran); ?>" class="" id="" name="anjuran" maxlength="255" />

     <label for="tarikh_mula">Tarikh Mula</label>
          <input type="text" value="<?php if (isset($tarikh_mula)) echo reverb($tarikh_mula); ?>" class="" id="" name="tarikh_mula" maxlength="" />

     <label for="tarikh_tamat">Tarikh Tamat</label>
          <input type="text" value="<?php if (isset($tarikh_tamat)) echo reverb($tarikh_tamat); ?>" class="" id="" name="tarikh_tamat" maxlength="" />

     <label for="bil_hari">Bil Hari</label>
          <input type="number" value="<?php if (isset($bil_hari)) echo reverb($bil_hari); ?>" class="" id="" name="bil_hari" maxlength="11" min="" max="" step="" />

     <label for="tarikh_key_in">Tarikh Key In</label>
          <input type="text" value="<?php if (isset($tarikh_key_in)) echo reverb($tarikh_key_in); ?>" class="" id="" name="tarikh_key_in" maxlength="" />

     <label for="disahkan">Disahkan</label>
          <textarea class="" id="" name="disahkan" rows="" cols="" ><?php if (isset($disahkan)) echo reverb($disahkan); ?></textarea>

     <label for="kumpulan_perkhidmatan">Kumpulan Perkhidmatan</label>
          <input type="text" value="<?php if (isset($kumpulan_perkhidmatan)) echo reverb($kumpulan_perkhidmatan); ?>" class="" id="" name="kumpulan_perkhidmatan" maxlength="255" />

<input type="submit" value="Submit" />
</fieldset>
</form>
</section>
<footer class="container">
&copy;<?php date_default_timezone_set('America/Chicago'); echo date("Y"); ?> Permohonan Kursus Form <!-- #customize# -->
</footer>
</body>
</html>